<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Carma Mutation Coverage Report - ${packageName}</title>
<link title="Style" type="text/css" rel="stylesheet" href="css/main.css" />
</head>
<body>
<h4>Carma Mutation Coverage Report - Packages</h4>
<h5>Packages</h5>

<div class="separator">&nbsp;</div>

<table class="report" id="packageResults">
	<thead>
		<tr>
			<td class="heading">Package</td>
			<td class="heading"># Classes</td>
			<td class="heading" width="20%">Mutation Coverage</td>
			<td class="heading" width="20%"># Mutants</td>
			<td class="heading" width="10%"># Survivors</td>
		</tr>
	</thead>
	<tbody>
	
	<#list packages as package >
		<tr>
			<td class="text"><a href="summary-${package.fqName}.html">${package.fqName}</a></td>
			<td class="value">${package.numClasses}</td>
			<td class="value">
			<table cellpadding="0" cellspacing="0" align="right">
				<tr>
					<#assign mutCoveragePercent = package.coverage * 100 >
					<#assign mutUnCoveragePercent = (1.0 - package.coverage) * 100 >
					<td>${mutCoveragePercent}%&nbsp;</td>
					<td>
					<table class="percentGraph" cellpadding="0" cellspacing="0"
						width="100">
						<tr>
							<td class="covered" width="${mutCoveragePercent}"></td>
							<td class="uncovered" width="${mutUnCoveragePercent}"></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</td>
			<td class="value">${package.numMutants}</td>
			<td class="value">${package.numSurvivors}</td>
		</tr>
	</#list>
	</tbody>
</table>

<p>
</p>
<h5>Classes in ${packageName}</h5>

<table class="report" id="classResults">
	<thead>
		<tr>
			<td class="heading">Class</td>
			<td class="heading" width="20%">Mutation Coverage</td>
			<td class="heading" width="20%"># Mutants</td>
			<td class="heading" width="10%"># Survivors</td>
		</tr>
	</thead>
	<tbody>
	
	
	<#list classes as clazz >
		<tr>
			<td class="text"><a href="${clazz.fqName}.html">${clazz.shortName}</a></td>
			<td class="value">
			<table cellpadding="0" cellspacing="0" align="right">
				<tr>
					<#assign mutCoveragePercent = clazz.coverage * 100 >
					<#assign mutUnCoveragePercent = (1.0 - clazz.coverage) * 100 >
					<td>${mutCoveragePercent}%&nbsp;</td>
					<td>
					<table class="percentGraph" cellpadding="0" cellspacing="0"
						width="100">
						<tr>
							<td class="covered" width="${mutCoveragePercent}"></td>
							<td class="uncovered" width="${mutUnCoveragePercent}"></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</td>
			<td class="value">${clazz.numMutants}</td>
			<td class="value">${clazz.numSurvivors}</td>
		</tr>
	</#list>
	</tbody>
</table>
<div class="footer">Report generated by <a
	href="http://carma.retroduction.com/" target="_top">Carma</a></div>
</body>
</html>

